package com.xzl.org.learning_situation_analysis.dao;

import com.xzl.org.learning_situation_analysis.entity.KnowledgePoints;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 夏智力
 * @FileName KnowledgePointsMapper
 * @date 2022/4/14 14:11
 * @Software: IntelliJ IDEA
 */
@Mapper
public interface KnowledgePointsMapper {

    KnowledgePoints selectById(int id);

    // 根据学科id查询知识点
    List<KnowledgePoints> selectBySubjectId(int subjectId);

    int insertKnowledgePoints(KnowledgePoints knowledgePoints);


}
